import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
export class emailCode {
  @ApiProperty({
    example: '',
    description: '请输入您的邮箱号',
  })
  @IsNotEmpty({ message: '输入的邮箱号不能为空' })
  email: string;
}
